package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 问卷表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "questionnaire")
public class Questionnaire implements java.io.Serializable{

    private ObjectId id;
    private String name;    //问卷名称
    private String cover;   //问卷图片
    private String level;        //问卷级别
    private Integer star;           //星级
    private Long created; 		   //创建时间


}
